package org.example.service;

import org.example.common.Result;
import org.example.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.OrderTO;
import org.example.pojo.Query;
import org.springframework.stereotype.Service;

/**
* @author 13326
* @description 针对表【hards_order】的数据库操作Service
* @createDate 2025-01-10 18:25:59
*/
@Service
public interface OrderService extends IService<Order> {

    Result add(OrderTO orderTO);

    Result getall(String status,Integer userId);

    Result updateorder(Order order);

    Result shanchu(Integer id);

    Result detail(Integer id);

    Result selectpage(Query query);
}
